<!-- 购物车 -->
 
<ion-view>
<div class="logo" ng-if="logo"><p></p></div>
	<ion-header-bar align-title="center"> <h3>购物车</h3><button class="del" ng-click="open();">删除</button>
   
</ion-header-bar>

	<ion-content>
		<div class="widCon cartNo">
			<p class="p">购物车没有任何商品~<a href="tab/shop" class="go">去逛逛</a></button></p>
		</div>


	<!--购物车内容	 -->
	<div ng-if="cha">
		<div class="sett-screen" ng-repeat="item in chas">
			<input type="checkbox" class="left sett-chec" ng-click="inpu(item.id,$index,item.cart_id);">
			<dl class="sett-dl">
				<dt class="left">
				<a href="#"><img src="{{URL}}{{item.img}}" alt=""></a>
					<dd class="left">
						<p class="sett-prMes">{{item.product_name}}</p>
						<div><span class="left yen">&yen;</span><p  class="price" data-id="{{item.id}}" data-cart="{{item.cart_id}}">{{item.shop_price}}</p></div>
						<div><span class="left" ng-click='minus($index,item.cart_id);'>－</span><i class="left numS" data-nuber="{{item.good_number}}">{{item.number}}</i><span class="left" ng-click="add($index,item.cart_id);">＋</span></div>
					</dd>
				</dt>
			</dl>
		</div>
	</div>
</ion-content>
<footer>
<div class="sett-sett" ng-if="check">
	<input type="checkbox" class="left sett-se" ng-click="checkAll();"><!--购物车结算-allsett	 -->
	<button class="all-chec left">全选</button>
	<div class="all-mon left">
		<span>合计：<i class="check">&yen;0.00</i></span>
	</div>
	<button class="button button-assertive all-sett" ng-click="check();">去结算</button>
</div>
	
</footer>
	<div class="exit" ng-if="shows">
		<div>
			<p>确认要删除吗？</p>
			<button ng-click="delete();">确定</button>
			<button ng-click="back();">取消</button>
		</div>
	</div>
<div class="hint" ng-if="hint"><p>{{eg}}</p></div>
</ion-view>